# Maintainer: Stacy Harper <contact@stacyharper.net>
pkgname=py3-tidalapi
_pkgname=tidalapi
pkgver=0.6.10
pkgrel=0
pkgdesc="Unofficial Python API for TIDAL music streaming service"
url="https://pypi.org/project/tidalapi/"
arch="noarch"
license="LGPL-3.0-or-later"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
778fedf8edaf161da54ba0fd95bf1300e210217baa1a12200f68adc854b6cdde445938453c2331d6b0a28e10043340fab4462306cf33ea33b4bb7ad7e7a8e9bc  tidalapi-0.6.10.tar.gz
"
